// 操作按钮渲染
import { Space } from 'antd';
import BtnItem from './BtnItem.jsx';

const OperaBtnRender = (props) => {
  const { split = '', style = {}, btnArr = [] } = props
  return (
    <Space sizes={[8]} style={style} split={split} wrap>
      {
        btnArr.map((v, index) => {
          return <BtnItem key={index} {...v} />
        })
      }
    </Space>
  )
}

export default OperaBtnRender;